﻿using System;
using Castle.ActiveRecord;

namespace Entity
{
    [ActiveRecord]
    public class Admin : ActiveRecordBase<Admin>
    {
        [PrimaryKey]
        public int AdminId { get; set; }

        [Property]
        public string AdminName { get; set; }

        [Property]
        public string AdminPwd { get; set; }

        [Property]
        public DateTime AdminDate { get; set; }

        [Property]
        public int AdminRoleId { get; set; }

        [Property]
        public string AdminAddress { get; set; }

        [Property]
        public string AdminEmail { get; set; }

        [Property]
        public int AdminSex { get; set; }

        [Property]
        public string AdminTel { get; set; }

        [Property]
        public string AdminTrueName { get; set; }

        [Property]
        public int AdminPhotoId { get; set; }
    }
}